From d8f429526782a43ae97f3cba872e56f5394433dc Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 7 Sep 2008 21:37:34 +0000 Subject: [PATCH] Plug a small memory leak in an error path svn path=/trunk/; revision=21313 --- gdk-pixbuf/ChangeLog | 5 +++++ gdk-pixbuf/gdk-pixbuf-io.c | 1 + 2 files changed, 6 insertions(+) diff --git a/gdk-pixbuf/ChangeLog b/gdk-pixbuf/ChangeLog index 9d5f62a152..6e0ad078c5 100644 --- a/gdk-pixbuf/ChangeLog +++ b/gdk-pixbuf/ChangeLog @@ -1,3 +1,8 @@ +2008-09-07 Matthias Clasen + + * gdk-pixbuf-io.c (gdk_pixbuf_io_init): Plug a small memory + leak in an error path. + 2008-09-06 Matthias Clasen Bug 517233 – Calling gdk_pixbuf_loader_close causes "GError set over diff --git a/gdk-pixbuf/gdk-pixbuf-io.c b/gdk-pixbuf/gdk-pixbuf-io.c index b26fb5d001..b0558800ca 100644 --- a/gdk-pixbuf/gdk-pixbuf-io.c +++ b/gdk-pixbuf/gdk-pixbuf-io.c @@ -402,6 +402,7 @@ gdk_pixbuf_io_init (void) if (file_formats == NULL) g_warning ("Cannot open pixbuf loader module file '%s': %s", filename, error->message); + g_free (filename); return; } -- 2.30.2